home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Resources / Internet / HTMLGate 12.2.1B / htmlgate.exe / {app} / Cookies / cookie1.txt next >
Encoding:
Text File  |  2000-07-12  |  560 b   |  17 lines

  1. <SCRIPT LANGUAGE="JavaScript">
  2. <!--
  3. function bakecookie(name, value, hours,path, domain, secure) { 
  4.         var days=10 
  5.         if (path) path=';path='+path; else path='' 
  6.         if (domain) domain=';domain='+domain; else domain='' 
  7.         if(secure) secure=';secure'; else secure='' 
  8.         if(trycookie()) 
  9.                 document.cookie= name + '=' + value+ '; expires=' +  
  10.                 ((new Date((new Date()).getTime() +  
  11.                 days*24*60*60*1000)).toGMTString())+ 
  12.                 path+domain+secure 
  13. }
  14.  
  15. -->
  16. </SCRIPT>
  17.